package com.speed_run.mapper;

import com.speed_run.model.UserInfo;
import com.speed_run.vo.UserInfoVo;
import org.apache.ibatis.annotations.Param;

public interface UserMapper{
    public UserInfo findUser(String userId);
    public void addUser(UserInfo user);
	public UserInfo getUserByUserId(String userId);
    public UserInfo editUserInfo(String nickName, String userId);
    public void updateUserAvator(@Param("column") String column, @Param("userId") String userId , @Param("avator") String avator);
    public void updateUserInfo(UserInfo userInfo);
    public UserInfoVo getEditUserInfo(String userId);
    public Integer getFollowed( @Param("userId")String userId, @Param("followerId") String follower);

}
